package com.aaa.entity;

public class Book {
    private int bookId;
    private String bookName;
    private int fk_docId;
    private String pubYear;
    private String introduce;
    private int volume;
    private String memo;

    public Book() {
    }

    public Book(int bookId, String bookName, int fk_docId, String pubYear, String introduce, int volume, String memo) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.fk_docId = fk_docId;
        this.pubYear = pubYear;
        this.introduce = introduce;
        this.volume = volume;
        this.memo = memo;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", fk_docId=" + fk_docId +
                ", pubYear='" + pubYear + '\'' +
                ", introduce='" + introduce + '\'' +
                ", volume=" + volume +
                ", memo='" + memo + '\'' +
                '}';
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public int getFk_docId() {
        return fk_docId;
    }

    public void setFk_docId(int fk_docId) {
        this.fk_docId = fk_docId;
    }

    public String getPubYear() {
        return pubYear;
    }

    public void setPubYear(String pubYear) {
        this.pubYear = pubYear;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
